button: Implement clip
authorBenjamin Otte <otte@redhat.com>
Fri, 23 May 2014 14:01:45 +0000 (16:01 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 24 May 2014 14:12:21 +0000 (16:12 +0200)
gtk/gtkbutton.c

index f78e8c412ff08588fcb40185c047ec9ba235dcf3..589b0ecb68022b3a586c49a453d2bc066aa8aa45 100644 (file)
@@ -1795,6 +1795,8 @@ gtk_button_size_allocate (GtkWidget     *widget,
 
       gtk_widget_size_allocate_with_baseline (child, &child_allocation, baseline);
     }
+
+  _gtk_widget_set_simple_clip (widget);
 }
 
 static gboolean